using System.Collections.Generic;

namespace GuitarChordFinder
{
    /// <summary>
    /// Stores a list of the scales (ScaleInfo class) from 1- 12 starting with the chord the user is looking for.
    /// The notes are filled in based on the chord we are looking for.
    /// This is referenced to find the notes that make up each chord.
    /// </summary>
    public class ScaleInfoChart
    {
        public List<ScaleInfo> ScaleNoteList { get; set; }

        public ScaleInfoChart()
        {
            // Set it up so we can insert the notes
            ScaleNoteList = new List<ScaleInfo>
                                {
                                    new ScaleInfo {Sequence = 1, StepName = "I", Note = new Note {Code = " "}}, // These are blank note codes because they will be filled in on demand
                                    new ScaleInfo {Sequence = 2, StepName = " ", Note = new Note {Code = " "}},
                                    new ScaleInfo {Sequence = 3, StepName = "II", Note = new Note {Code = " "}},
                                    new ScaleInfo {Sequence = 4, StepName = " ", Note = new Note {Code = " "}},
                                    new ScaleInfo {Sequence = 5, StepName = "III", Note = new Note {Code = " "}},
                                    new ScaleInfo {Sequence = 6, StepName = "IV", Note = new Note {Code = " "}},
                                    new ScaleInfo {Sequence = 7, StepName = " ", Note = new Note {Code = " "}},
                                    new ScaleInfo {Sequence = 8, StepName = "V", Note = new Note {Code = " "}},
                                    new ScaleInfo {Sequence = 9, StepName = " ", Note = new Note {Code = " "}},
                                    new ScaleInfo {Sequence = 10, StepName = "VI", Note = new Note {Code = " "}},
                                    new ScaleInfo {Sequence = 11, StepName = " ", Note = new Note {Code = " "}},
                                    new ScaleInfo {Sequence = 12, StepName = "VII", Note = new Note {Code = " "}}
                                }
                ;
        }
    }
}